package org.example.helloworld.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author sy
 * @since 2024年07月09日
 */
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Data
@TableName("order_info")
public class Home implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ord_id", type = IdType.AUTO)
    private Long ordId;

    @TableField("user_id")
    private Integer userId;

    @TableField("realname")
    private String realname;

    @TableField("used_water")
    private BigDecimal usedWater;

    @TableField("wa_sum")
    private BigDecimal waSum;

    @TableField("used_elc")
    private BigDecimal usedElc;

    @TableField("el_sum")
    private BigDecimal elSum;

    @TableField("sum")
    private BigDecimal sum;

    @TableField("ifpay")
    private String ifpay;

    @TableField("addtime")
    private LocalDateTime addtime;

    @TableField("end_line")
    private LocalDateTime endLine;

    /**
     * 关联的截止期限设置ID
     */
    @TableField("deadline_id")
    private Integer deadlineId;
    @TableField("phone")
    private String Phone;
    @TableField("address")
    private String Address;

}
